package com.cloud.check.api.web;

import com.cloud.check.api.service.RecCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @program: quokka-server
 * @description: ${description}
 * @author: sl
 * @create: 2019-09-26 17:31
 **/
@RestController
@RequestMapping("check/interface")
public class CheckInterfaceController {

    @Autowired
    public RecCheckService recCheckService;

    /**
     * 页面改版 执法信息统计
     */
    @RequestMapping("getLawDynamicsInfo")
    public Map<String, Object> getLawDynamicsInfo(String unitCode) {
        return recCheckService.getLawDynamicsInfo(unitCode);
    }
}
